package org.jeroen.banking;

import org.axonframework.commandhandling.CommandBus;
import org.springframework.context.support.GenericXmlApplicationContext;

public class Main {

    /**
     * @param args
     */
    public static void main(String[] args) {
        GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
        ctx.load("classpath:/META-INF/spring/*-context.xml");
        ctx.refresh();

        // TODO: Perform actions

        CommandBus commandBus = ctx.getBean(CommandBus.class);
        System.out.println(commandBus);
    }

}
